﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace TmU220PrintHelperV2d0.HttpHelper
{
    /// <summary>
    /// 用于套接字连接的状态类
    /// </summary>
    public class SocketStateObjectV2d0
    {
        public TcpClient Client { get; set; }
        public byte[] Buffer { get; set; }
        public int BufferSize { get; set; }
        public SocketStateObjectV2d0(int bufferSize=1024)
        {
            Buffer = new byte[bufferSize];
            Client = null;
        }
    }
}
